﻿using System.Web.Mvc;
using SimpleMvcCaptcha.Utils;

namespace CaptchaSample.Controllers
{
    public class CaptchaController : Controller
    {
        public FileContentResult GetImage(string id)
        {
            return File(CaptchaUtils.GetImage(id), "image/gif");
        }

    }
}
